package com.chance.cc.crawler.prod.command.node.hupu;

import com.chance.cc.crawler.development.command.node.CrawlerNodeCommand;
import com.chance.cc.crawler.prod.command.job.domain.news.hupu.module.HupuModuleKeywordRealtimeCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.hupu.module.HupuModuleKeywordTraceCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.hupu.module.HupuModuleKeywordTraceTraceCrawlerSchedulerJob;

/**
 * @author bx
 * @date 2020/12/8 0008 13:37
 */
public class HupuCrawlerNodeOperator {

    public static void main(String[] args) {
        CrawlerNodeCommand crawlerNodeCommand = new CrawlerNodeCommand("192.168.1.219",9505);

        crawlerNodeCommand.nodeStatus();

//        crawlerNodeCommand.killCrawler(HupuRealtimeCrawlerSchedulerJob.crawlerSchedulejob());
//        crawlerNodeCommand.killCrawler(HupuTraceCrawlerSchedulerJob.crawlerSchedulejob());
        crawlerNodeCommand.killCrawler(HupuModuleKeywordRealtimeCrawlerSchedulerJob.crawlerSchedulejob());
        crawlerNodeCommand.killCrawler(HupuModuleKeywordTraceCrawlerSchedulerJob.crawlerSchedulejob());
        crawlerNodeCommand.killCrawler(HupuModuleKeywordTraceTraceCrawlerSchedulerJob.crawlerSchedulejob());


        crawlerNodeCommand.nodeStatus();

    }
}
